<?php $this->load->view('header_view')?>	
    
    <div id="main">
		<?php echo form_open_multipart($this->uri->uri_string(),array('id'=>'f_register'));?>
		<?php echo validation_errors();?>
		<table>
			<tr>
				<td><?php echo $this->lang->line('company_name');?></td>
				<td><input type="text" id="tf_company_name" name="tf_company_name" value="<?php echo $form_info['company_name']?>"></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('display_image');?></td>
				<td><input type="file" id="f_display_image" name="f_display_image" value=""></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('email');?></td>
				<td><input type="text" id="tf_email" name="tf_email" value="<?php echo $form_info['email']?>"></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('confirm_email');?></td>
				<td><input type="text" id="tf_confirm_email" name="tf_confirm_email" value="<?php echo $form_info['email']?>"></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('password');?></td>
				<td><input type="password" id="tf_password" name="tf_password" value=""></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('confirm_password');?></td>
				<td><input type="password" id="tf_confirm_password" name="tf_confirm_password" value=""></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('phone')?></td>
				<td><input type="text" id="tf_phone" name="tf_phone" value="<?php echo $form_info['phone']?>"></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('address')?></td>
				<td><input type="text" id="tf_address" name="tf_address" value="<?php echo $form_info['address']?>"></td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('country')?></td>
				<td>
					<select id="sl_country_id" name="sl_country_id">
						<option value="0">--<?php echo $this->lang->line('choose_country')?>--</option>
						<option value="1">Viet Nam</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('city')?></td>
				<td>
					<select id="sl_city_id" name="sl_city_id">
						<option value="0">--<?php echo $this->lang->line('choose_city')?>--</option>
						<option value="1">Ho Chi Minh</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('district')?></td>
				<td>
					<select id="sl_district_id" name="sl_district_id">
						<option value="0">--<?php echo $this->lang->line('choose_district')?>--</option>
						<option value="1">District 1</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('intro_content')?></td>
				<td>
					<textarea id="ta_intro_content" name="ta_intro_content"> </textarea>
				</td>
			</tr>
			<tr>
				<td><?php echo $this->lang->line('website')?></td>
				<td><input type="text" id="tf_website" name="tf_website" value="<?php echo $form_info['website']?>"></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" id="btn_register" name="btn_register" value="Register"></td>
			</tr>	
		</table>
		<?php echo form_close();?>
    </div>
    
<?php $this->load->view('footer_view')?>